/*
 * @Author: Jahaw 
 * @Date: 2024-08-14 09:30:16 
 * @Last Modified by: Jahaw
 * @Last Modified time: 2024-08-14 17:14:42
 */
export const DIRECTORY_NAME = 'web-update-notice'
export const JSON_FILE_NAME = 'web-version-by-plugin'
export const INJECT_STYLE_FILE_NAME = 'web-update-notice'
/** .global is iife suffix */
export const INJECT_SCRIPT_FILE_NAME = 'web-update-notice'
export const NOTIFICATION_ANCHOR_CLASS_NAME = 'web-update-notice-anchor'

export const CUSTOM_UPDATE_EVENT_NAME = 'web-update-notice'
/** refresh button class name */
export const NOTIFICATION_REFRESH_BTN_CLASS_NAME = 'web-update-notice-refresh-btn'
/** dismiss button class name */
export const NOTIFICATION_DISMISS_BTN_CLASS_NAME = 'web-update-notice-dismiss-btn'
export const LOCAL_STORAGE_PREFIX = 'web-update-check-dismiss-version'

export const NOTIFICATION_POSITION_MAP = {
  topLeft: 'top: 24px;left: 24px',
  topRight: 'top: 24px;right: 24px',
  bottomLeft: 'bottom: 24px;left: 24px',
  bottomRight: 'bottom: 24px;right: 24px',
}
